AmeliaBooking\Application\Services\Booking\AppointmentApplicationService D

Total Complexity 254
Dependencies 30
Dependents 0
Total lines 1,691
Lines of code 992
Logical lines of code 438
Comment lines 373
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
addOrEditAppointment()
D
27
36 134
update()
C
30 28 112
bookingDetailsChanged()
B
41 23 52
getAlreadyBookedAppointment()
B
40 22 50
getUserConnectionChanges()
A
44 16 43
manageAppointmentStatusByBooking()
A
41 12 60
add()
A
38 11 71
processPackageAppointmentBooking()
A
45 12 43
delete()
A
52 12 25
isAppointmentStatusChangedWithBooking()
A
43 7 51
removeBookingFromGroupAppointment()
A
40 5 66
getMaximumBookingDuration()
A
57 8 17
canBeBooked()
S
49 7 29
build()
S
48 6 34
getBookingLengthTime()
S
59 7 13
approveBooking()
S
45 5 42
getBookingPriceForServiceDuration()
S
61 6 12
getAppointmentLengthTime()
S
58 5 16
appointmentDetailsChanged()
S
62 5 12
manageDeletionParentRecurringAppointment()
S
57 4 17
getAppointmentEntitiesIdsBySearchString()
S
52 3 26
removeBookingFromNonGroupAppointment()
S
52 3 25
convertTime()
S
62 3 12
getAppointmentBooking()
S
67 3 8
isAppointmentRescheduled()
S
68 2 7
calculateAndSetAppointmentEnd()
S
66 1 9
isAppointmentStatusChanged()
S
79 1 3
__construct()
S
81 1 3